<?php

// Model:'CanBo' - Database Table: 'can_bo'

Class CanBo extends Eloquent
{

    protected $table='can_bo';

    public function chitietcanbohuongdan()
    {
        return $this->hasMany('ChiTietCanBoHuongDan');
    }

    public function chitiethoidong()
    {
        return $this->hasMany('ChiTietHoiDong');
    }

    public function truongbomon()
    {
        return $this->hasMany('TruongBoMon');
    }

    public function nguoidung()
    {
        return $this->belongsTo('NguoiDung');
    }

    public function bomon()
    {
        return $this->belongsTo('BoMon');
    }

}